@extends('admin.layouts._menu')
@section('content')
    <form action="{{route('admin.slider.store')}}" method="post">
        @csrf
        <div class="card">
            <div class="card-body">
                <ul class="nav nav-tabs nav-overflow header-tabs">
                    <li class="nav-item">
                        <a href="{{route('admin.slider.index')}}" class="nav-link pb-3 ">
                            幻灯片列表
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="{{route('admin.slider.create')}}" class="nav-link pb-3 active">
                            新增幻灯片
                        </a>
                    </li>
                </ul>
            </div>
            <div class="card-body small">
                @include('admin.layouts._slider')
            </div>
            <div class="card-footer">
                <button class="btn btn-primary btn-sm">保存提交</button>
            </div>
        </div>
    </form>
@endsection
